package com.us.usws.batch.resimp.result;

import java.util.ArrayList;
import java.util.List;

public class ResImpResult {

	private String filePath;
	private String title;

	private String summaryMsg;
	private Throwable ex;

	private int successCnt;

	List<FailureCellResult> failures = new ArrayList<FailureCellResult>();

	List<FailureCellResult> warnings = new ArrayList<FailureCellResult>();

	public int getSuccessCnt() {
		return successCnt;
	}

	public int getFailureCnt() {
		return failures.size();
	}

	public void setSuccessCnt(int successCnt) {
		this.successCnt = successCnt;
	}

	public List<FailureCellResult> getFailures() {
		return failures;
	}

	public void setFailures(List<FailureCellResult> failures) {
		this.failures = failures;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummaryMsg() {
		return summaryMsg;
	}

	public void setSummaryMsg(String summaryMsg) {
		this.summaryMsg = summaryMsg;
	}

	public Throwable getEx() {
		return ex;
	}

	public void setEx(Throwable ex) {
		this.ex = ex;
	}

	public List<FailureCellResult> getWarnings() {
		return warnings;
	}

	public void setWarnings(List<FailureCellResult> warnings) {
		this.warnings = warnings;
	}

}
